﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Blog.IRepository.UnitOfWork
{
    /// <summary>
    /// 工作单元，支持事务
    /// </summary>
    public interface IUnitOfWork
    {
        SqlSugarClient GetDbClient();
        void BeginTran();
        void CommitTran();
        void RollbackTran();
    }
}
